package com.system.mapper;

import com.system.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author XueHeng
 * @since 2020-09-17
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    /*
    根据roleId获取userId
     */
    public List<String> getUserIds(String roleId);


}
